package com.tanhua.domain.mongo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;

@AllArgsConstructor
@NoArgsConstructor
@Data
@Document(collection = "user_recevive_sound")
public class UserReceviveSound implements Serializable {
    private ObjectId id;//表id
    private Long userId;//用户id
    private Integer remainingTimes = 2;//今日剩余次数，默认为2
}
